import http from '@/utils/request'

// /api/doctor
export const home = () => {
    return http({
      url: '/api/guwen',
      method: 'post',
    })
  }
  export const my = () => {
    return http({
      url: '/api/guwen/guwenCenter',
      method: 'post',
    })
  }
  export const exitlogin = () => {
    return http({
      url: '/api/Oauth/exitlogin',
      method: 'post',
    })
  }
  export const editPwd = (params) => {
    return http({
      url: '/api/doctor/editpwd',
      method: 'post',
      data:params
    })
  }
  // 顾问管理
  
  export const guwenlist = (params) => {
    return http({
      url: '/api/guwen/guwenlist_by_manage',
      method: 'post',
      data:params
    })
  }
  export const adviserYiyuanList = (params) => {
    return http({
      url: '/api/guwen/yiyuanlist_by_guwen',
      method: 'post',
      data:params
    })
  }
  //协议设置
  export const xieyi= (params) => {
    return http({
      url: '/api/patient/xieyi',
      method: 'post'
    })
  }
  export const xieyi_info= (params) => {
    return http({
      url: '/api/general/get_xieyi_info',
      method: 'post'
    })
  }

  
  